#include "DeleteEmployeeTransaction.h"
#include "PayrollDatabase.h"
extern PayrollDataBase GpayrollDatabase;
DeleteEmployeeTransaction::~DeleteEmployeeTransaction()
{}

DeleteEmployeeTransaction::DeleteEmployeeTransaction(int empid)
	:itsEmpid(empid)
{

}

void DeleteEmployeeTransaction::Execute()
{
	GpayrollDatabase.DeleteEmployee(itsEmpid);
}
	